﻿@using KPIS.GERP.WEB.GIMS
@using KPIS.GERP.WEB.GIMS.Class;

@{
    ViewBag.Title = "Server Initializing Detail"; 
    var serviceEssWakeUpService = new KPIS.GERP.WEB.GIMS.EssWakeUpService.WakeUpServiceClient();
    var serviceGbmsWakeUpService = new KPIS.GERP.WEB.GIMS.GbmsWakeUpService.GbmsWakeUpServiceClient();
    var serviceGhrmsWakeUpService = new KPIS.GERP.WEB.GIMS.GhrmsWakeUpService.GhrmsWakeUpServiceClient();
    var serviceGfmsWakeUpService = new KPIS.GERP.WEB.GIMS.GfmsWakeUpService.GfmsWakeupServiceClient();
    var serviceGimsWakeUpService = new KPIS.GERP.WEB.GIMS.GimsWakeUpService.GimsWakeUpServiceClient();
    var serviceSysWakeUpService = new KPIS.GERP.WEB.GIMS.SysWakeUpService.SysWakeUpServiceClient();
}

<h3>Module Security Initize Time Usage Summary</h3>
@Html.Raw(GimsUtilities.DevMessageTestToString) 

<h3>All Service Summarizing</h3>
<strong>Server Startup Date Time</strong> <br/>
Web Gims: @GimsUtilities.InitialStartLog.InitialDateTimeStart  <br />
Service ESS:  @serviceEssWakeUpService.GetInitialTime().InitialDateTimeStart <br/>
Service GBMS: @serviceGbmsWakeUpService.GetInitialTime().InitialDateTimeStart <br/>
Service GHRMS:  @serviceGhrmsWakeUpService.GetInitialTime().InitialDateTimeStart <br/>
Service GFMS:  @serviceGfmsWakeUpService.GetInitialTime().InitialDateTimeStart <br/>
Service GIMS:  @serviceGimsWakeUpService.GetInitialTime().InitialDateTimeStart <br/>
Service SYS:  @serviceSysWakeUpService.GetInitialTime().InitialDateTimeStart <br/>
 <br/>
<strong>Server Initial Load Time Using</strong> <br/>
Web Gims:  @(GimsUtilities.InitialStartLog.InitialDateTimeEnd != null ? KPIS.GERP.Models.Class.StringFormat.TimeSpan(GimsUtilities.InitialStartLog.InitialDateTimeEnd.Value.Subtract(GimsUtilities.InitialStartLog.InitialDateTimeStart)) : "-")<br/> 
Service ESS:  @serviceEssWakeUpService.GetInitialTime().InitialWasteTime <br/> 
Service GBMS: @serviceGbmsWakeUpService.GetInitialTime().InitialWasteTime <br/> 
Service GHRMS:  @serviceGhrmsWakeUpService.GetInitialTime().InitialWasteTime <br/> 
Service GFMS:  @serviceGfmsWakeUpService.GetInitialTime().InitialWasteTime <br/> 
Service GIMS:  @serviceGimsWakeUpService.GetInitialTime().InitialWasteTime <br/> 
Service SYS:  @serviceSysWakeUpService.GetInitialTime().InitialWasteTime <br/> 
     